import { defineUserConfig, defaultTheme } from 'vuepress'

export default defineUserConfig({
	lang: 'zh-CN',
	title: 'Homebrew',
	description: 'Homebrew国内源（中科大）一键安装脚本使用说明',
	base: '/brew/',
	theme: defaultTheme({
		navbar: [
			{ text: '指南', link: '/guide/' },
			{ text: '其他文档', link: '/other/' },
			{ text: 'Gitee', link: 'https://gitee.com/wejectchan/brew' },
			{
				text: 'LookArm(查找支持m1芯片的App)',
				link: 'https://lookarm.cn',
			},
		],
		sidebar: {
			'/guide/': [
				{
					text: '指南',
					children: ['/guide/README.md', '/guide/usage.md'],
				},
			],
		},
		logo: '/images/homebrew.png',
	}),
})
